<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        @import url("pressDom.css");
    </style>
    <script src="pressDom.js"></script>
</head>
<body>
    <div id="contentDiv">
        <table border="1" cellspacing="0" width="40%">
            <thead><tr><th>姓名</th><th>职位</th><th>工资</th></tr></thead>

            <tbody id="data">
                <tr><td>张无忌</td><td>经理</td><td>12000</td></tr>
                <tr><td>谢逊</td><td>科长</td><td>10000</td></tr>
                <tr><td>杨逍</td><td>部长</td><td>15000</td></tr>
                <tr><td>范遥</td><td>会计</td><td>6000</td></tr>
                <tr><td>韦一笑</td><td>清洁工</td><td>3000</td></tr>
            </tbody>
        </table>



        <div id="inputDiv">
            姓名：<input type="text" id="name"><br>
            职位：<input type="text" id="job"><br>
            工资：<input type="text" id="money"><br>
            <input type="button" value="添加" onclick="add()">
            <input type="button" value="删除" onclick="del()" disabled id="delButton">
            <input type="button" value="删除所有" onclick="delAll()">
            <input type="button" value="修改" onclick="update()">
        </div>
    </div>
</body>
</html>